######################################################################
# Bit serial 16-bit absolute value ModelSim do file
# Stephen West, James Carroll
# BYU ECEn 620, Fall 2008
######################################################################
quit -sim

vcom BitSerialAbs16.vhd
vcom BitSerialAbs.vhd
vcom Delay_N.vhd
vsim BitSerialAbs16
add wave *
#add wave single_abs/*

force clk 1,0 10ns -r 20ns

#+1
force lsb_in 1,0 20ns
force bits_in 1111111111111111,0000000000000000 20ns 
run 240ns


#-1
force lsb_in 1,0 20ns
force bits_in 1111111111111111
run 240ns

force lsb_in 1,0 20ns
force bits_in 0000000000000000
run 240ns
